package ooExercise.ooday02;

public class Pig extends Animal{
     Pig(String name, String color, int age, String food) {
        super(name, color, age, food);
    }
    void eat(){
        System.out.println(color+"颜色的,"+age+"岁的猪猪，名叫"+name+"正在吃"+food+",它每天都在猪圈了");
    }

}
